<!DOCTYPE html>
<meta charset="utf-8">
<title>Test styles defined in forced-colors media query while printing in forced colors mode.</title>
<link rel="help" href="https://www.w3.org/TR/css-color-adjust-1/#forced-colors-mode">
<link rel=match href="forced-colors-mode-printing-02-expected.html">
<style>
  @media print and (forced-colors: active) {
    div::before {
      content: "PASS";
      font-size: 100px;
    }
  }
</style>
<script>
  if (window.testRunner)
      testRunner.setPrinting();
</script>
<p>You should see a PASS below when printing in forced colors mode.</p>
<div></div>
